package com.bing.service;

import com.bing.entity.Statistical.*;
import com.github.pagehelper.PageInfo;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author: Mr.HRL
 * @Description: 预计注册
 * @Date: 2019-09-14 15:53
 * @Version: 1.0
 */
public interface StatisticalService {

    //产品访问量新增
    void productAccessAdd(ProductAccessInfo productAccessInfo);
    //预计注册量新增
    void exceptRegAdd(ExpectRegistereInfo expectRegistereInfo);


    void sumClick(ProductAccessInfo productAccessInfo);

    void checkBpProdct(ExpectRegistereInfo expectRegistereInfo);

    Map<Object,Object> userStatis(Date startTime, Date endTime);

    List<ProductStatisinfo> productStatis(Date date, Date date1, String productName);

    void addPartyData(PartyStatisinfo partyStatisinfo);

    String channelAccessAdd(ChannelAccessInfo channelAccessInfo) throws Exception;

    List<ChannelStatisinfo> channelStatis(Date date, Date date1, String channelName);

    PageInfo<PartyStatisinfo> getPartyData(String productName, Integer pageNum);
}
